﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DevExpress.Xpo;
using Zero.POCO.FiltreEnumeration;

namespace Zero.DataLayer.Donnees
{
    public class AudienceJournal: XPBaseObject
    {
         public AudienceJournal()
            : base()
        {
            // This constructor is used when an object is loaded from a persistent storage.
            // Do not place any code here.
        }

         public AudienceJournal(Session session)
            : base(session)
        {
            // This constructor is used when an object is loaded from a persistent storage.
            // Do not place any code here.
        }

         public override void AfterConstruction()
         {
             base.AfterConstruction();
             // Place here your initialization code.
         }

        [Key(AutoGenerate = true)]
        public int Oid;



        int _Jour;
        public int Jour
        {
            get { return _Jour; }
            set { SetPropertyValue("Jour", ref _Jour, value); }
        }

        private int _NumeroJour;
        public int NumeroJour
        {
            get { return _NumeroJour; }
            set { SetPropertyValue("NumeroJour", ref _NumeroJour, value); }
        }
        private int _NumeroJourSemaine;
        public int NumeroJourSemaine
        {
            get { return _NumeroJourSemaine; }
            set { SetPropertyValue("NumeroJourSemaine", ref _NumeroJourSemaine, value); }
        }

        int _Ville;
        public int Ville
        {
            get { return _Ville; }
            set { SetPropertyValue("Ville", ref _Ville, value); }
        }
  
        XpoSupportPresse _SupportPresse;
        public XpoSupportPresse SupportPresse
        {
            get { return _SupportPresse; }
            set { SetPropertyValue("SupportPresse", ref _SupportPresse, value); }
        }



        int _NombreOccurence;
        public int NombreOccurence
        {
            get { return _NombreOccurence; }
            set { SetPropertyValue("NombreOccurence", ref _NombreOccurence, value); }
        }


        private DateTime _Date;
        public DateTime Date
        {
            get { return _Date; }
            set { SetPropertyValue("Date", ref _Date, value); }
        }
        private int _FiltrePriotaire;
        public int FiltrePriotaire
        {
            get { return _FiltrePriotaire; }
            set { SetPropertyValue("FiltrePriotaire", ref _FiltrePriotaire, value); }
        }


        private int _Filtresecondaire;
        public int Filtresecondaire
        {
            get { return _Filtresecondaire; }
            set { SetPropertyValue("Filtresecondaire", ref _Filtresecondaire, value); }
        }

        private int _Vague;
        public int Vague
        {
            get { return _Vague; }
            set { SetPropertyValue("Vague", ref _Vague, value); }
        }


        private int _Age;
        public int Age
        {
            get { return _Age; }
            set { SetPropertyValue("Age", ref _Age, value); }

        }
        private float _Poid;
        public float Poid
        {
            get { return _Poid; }
            set { SetPropertyValue("Poid", ref _Poid, value); }

        }

        RevenuTotalFoyer _RevenueTotalFoyer;
        public RevenuTotalFoyer RevenueTotalFoyer
        {
            get { return _RevenueTotalFoyer; }
            set { SetPropertyValue("RevenueTotalFoyer", ref _RevenueTotalFoyer, value); }

        }
        NbVoiture _NbVoiture;
        public NbVoiture NbVoiture
        {
            get { return _NbVoiture; }
            set { SetPropertyValue("NbVoiture", ref _NbVoiture, value); }

        }
        NbChambre _NbPiece;
        public NbChambre NbPiece
        {
            get { return _NbPiece; }
            set { SetPropertyValue("NbPiece", ref _NbPiece, value); }

        }
        Habitat _Habitat;
        public Habitat Habitat
        {
            get { return _Habitat; }
            set { SetPropertyValue("Habitat", ref _Habitat, value); }

        }

        TypeHabitation _TypeHabitation;
        public TypeHabitation TypeHabitation
        {
            get { return _TypeHabitation; }
            set { SetPropertyValue("TypeHabitation", ref _TypeHabitation, value); }

        }

        TailleFoyer _TailleFoyer;
        public TailleFoyer TailleFoyer
        {
            get { return _TailleFoyer; }
            set { SetPropertyValue("TailleFoyer", ref _TailleFoyer, value); }

        }
        private Genre _Genre;
        public Genre Genre
        {
            get { return _Genre; }
            set { SetPropertyValue("Genre", ref _Genre, value); }

        }

        int _Equipement;
        public int Equipement
        {
            get { return _Equipement; }
            set { SetPropertyValue("Equipement", ref _Equipement, value); }

        }

        CSE _CSE;
        public CSE CSE
        {
            get { return _CSE; }
            set { SetPropertyValue("CSE", ref _CSE, value); }

        }

        SituationMatrimonial _Situationmatrimoniale;
        public SituationMatrimonial Situationmatrimoniale
        {
            get { return _Situationmatrimoniale; }
            set { SetPropertyValue("Situationmatrimoniale", ref _Situationmatrimoniale, value); }

        }

        StatutFamiliale _Statutfamilial;
        public StatutFamiliale Statutfamilial
        {
            get { return _Statutfamilial; }
            set { SetPropertyValue("Statutfamilial", ref _Statutfamilial, value); }

        }

        NiveauInstruction _Niveau;
        public NiveauInstruction Niveau
        {
            get { return _Niveau; }
            set { SetPropertyValue("Niveau", ref _Niveau, value); }

        }

        CSP _CSP;
        public CSP CSP
        {
            get { return _CSP; }
            set { SetPropertyValue("CSP", ref _CSP, value); }

        }

        int _NumJournal;
        public int NumJournal
        {
            get { return _NumJournal; }
            set { SetPropertyValue("NumJournal", ref _NumJournal, value); }
        }
        private Signalitique _Signalitique;
        [Association("SignalitiquesAudienceJournals")]
        public Signalitique Signalitique
        {
            get { return _Signalitique; }
            set { SetPropertyValue("Signalitique", ref _Signalitique, value); }

        }
    }
}
